﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WindowsWorkflow.Hoster;

namespace WindowsWorkflow.Test
{
    public partial class StateMachineTester : Form
    {
        private WfStateMachineHoster _SMHoster = null;

        public StateMachineTester()
        {
            InitializeComponent();
        }

        private void StateMachineTester_Load(object sender, EventArgs e)
        {
			//this.p_Workspace.Controls.Clear();
			//this._SeqHoster = new WfSeqHoster(this.propertyGrid1);
			//this.p_Workspace.Controls.Add(this._SeqHoster);
			//this._SeqHoster.Dock = DockStyle.Fill;
			//this.p_Toolbox.Controls.Clear();
			//ToolboxService toolboxService = this._SeqHoster.ToolboxService;
			//this.p_Toolbox.Controls.Add(toolboxService);
			//toolboxService.Dock = DockStyle.Fill;

			this.p_Designer.Controls.Clear();
			this._SMHoster=new WfStateMachineHoster(this.propGrid,this.p_ToolboxItems);
			this.p_Designer.Controls.Add(this._SMHoster);
        	this._SMHoster.Dock = DockStyle.Fill;
        }
    }
}
